package com.github.zihang.config;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;

/**
 * @ClassName CenterBootstrap
 * @DESCRIPTION Eureka 注册中心EnableConfigServer
 * @Author RuanlinJing
 * @Date 2018/6/19 11:02
 * @Version 1.0
 **/
@SpringBootApplication
@EnableConfigServer
@EnableEurekaClient
public class ConfigCenterBootstrap {
    public static void main(String[] args) {
        SpringApplication.run(ConfigCenterBootstrap.class, args);
    }
}
